#include "Interactiv_BIM/Interactiv_BIMPublic.h"
#include "Interactiv_BIM/CommandFactoryPublic.h"

OcCommandFactory::OcCommandFactory(DesignerDlgTypePublic type) :
OcRxFactory<DesignerDlgTypePublic, ChaiDanCommand>(type)
{
}


OcCommandFactory::~OcCommandFactory(void)
{
}

void OcCommandFactory::destroy(ChaiDanCommand *Obj, void* pData /*= NULL*/)
{
  //if (Obj)
  //{
  //  if (Obj->GetSafeHwnd())
  //  {
  //    g_pDockingControlBarService->ShoDockingControlBar(mType, FALSE);
  //    Obj->ShowWindow(SW_HIDE);
  //    ::DestroyWindow(Obj->GetSafeHwnd());
  //  }
  //}
  ////
	OcRxFactory<DesignerDlgTypePublic, ChaiDanCommand>::destroy(Obj, pData);
}
